package com.be.beadmin.device.dto.output;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.ContentFontStyle;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.alibaba.excel.annotation.write.style.HeadStyle;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ContentFontStyle(fontName = "Microsoft YaHei",fontHeightInPoints = 12)
@HeadFontStyle(fontName = "Microsoft YaHei",fontHeightInPoints = 12)
public class EhsInfoExcelEx {
    @ExcelProperty("检查单号")
    private String checkId;
    @ExcelProperty("检查日期")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GTM+8")
    private Date checkDate;
    @ExcelProperty("问题状态")
    private String state;
    @ExcelProperty("EHS专员")
    private String checkBy;
    @ExcelProperty("整体结果")
    private String result;
    @ExcelProperty("处理时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GTM+8")
    @DateTimeFormat(value = "yyyy-MM-dd HH:mm:ss")
    private Date handleTime;
    @ExcelProperty("处理人员")
    private String handleBy;
//    @ExcelProperty("唯一标识")
//    private String identification;


}
